package com.yf.entity.rongcloud;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 实体
 * 表名 users
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Mon Oct 22 15:18:38 CST 2018
 */
@Setter
@Getter
public class UsersEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //
    private String region;
    //
    private String phone;
    //
    private String nickname;
    //
    private String portraituri;
    //
    private String passwordhash;
    //
    private String passwordsalt;
    //
    private String rongcloudtoken;
    //
    private Integer groupcount;
    //
    private Long timestamp;
    //
    private Date createdat;
    //
    private Date updatedat;
    //
    private Date deletedat;
    //
    private String unionId;

    public UsersEntity(){

    }


    public UsersEntity(String nickname, String portraituri, String unionId) {
        this.nickname = nickname;
        this.portraituri = portraituri;
        this.unionId = unionId;
    }
}
